package com.itheima.stock.mapper;

import com.itheima.stock.entity.SysUser;
import org.apache.ibatis.annotations.Param;

/**
* @author fantuan
* @description 针对表【sys_user(用户表)】的数据库操作Mapper
* @createDate 2025-11-07 20:42:37
* @Entity com.itheima.stock.entity.SysUser
*/
public interface SysUserMapper {
    /**
     *  根据用户名查询用户信息
     * @param username 用户名
     * @return SysUser
     */
    SysUser selectByUsername(@Param("username") String username);

}




